package cn.yunyichina.provider.sb.dao;

import cn.yunyichina.provider.framework.annotation.MyBatisRepository;
import cn.yunyichina.provider.framework.mvc.dao.BaseDao;
import cn.yunyichina.provider.sb.entity.MedicalPatient;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
*
* @Author auto_gen_by_tool
* @CreatedTime 2017-07-26 14:17:02
*/
@Repository
@MyBatisRepository
public interface MedicalPatientDao extends BaseDao<MedicalPatient>{
    List<MedicalPatient> selectUnuploadMedical(MedicalPatient medicalPatient);
    List<MedicalPatient> selectNotDownLoadMedicalDiagnosisInfo(@Param("orgCode") String orgCode);
    List<MedicalPatient> selectNotDownLoadMedicalFeeInfo(@Param("orgCode") String orgCode);
    MedicalPatient selectByMzFeeId(@Param("orgCode") String orgCode, @Param("mzFeeId") String mzFeeId);
    List<MedicalPatient> selectLimitPatient(MedicalPatient medicalPatient);
    List<MedicalPatient> selectOutHospitalPatient(MedicalPatient medicalPatient);
    void updateOutHospitalNotify(MedicalPatient medicalPatient);


}